package com.by.hellosecurityresource.domain;

import java.io.Serializable;
import javax.persistence.*;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 测试表单(STest)
 *
 * @author 白羽
 * @Date 2022-12-12 12:56:49
 */

@Schema(description = "test表")
@Setter
@Getter
@ToString
@Entity
@Table(name = "s_test")
public class STest implements Serializable {

    private static final long serialVersionUID = 543969401389196998L;

    @Schema(description = "自增主键")
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Long id;

    @Schema(description = "测试字段1")
    @Column(name = "test")
    private String test;

    @Schema(description = "测试字段2")
    @Column(name = "value")
    private String value;
    

}